
<script type="text/html" id="tp-add-label">
    <div class="label-box">
      <input name="{{propname}}" type="hidden"/>
        <button type="button" class="btn btn-success btn-xs add-class-btn">添加班级</button>
    </div>
</script>

<style>
  .class-label{
    margin-right:10px;
    padding: 3px;
    border: 1px solid #ffffff;
    display: inline-block;
  }

  .class-label:hover{
    border: 1px solid #f0f0f0;
  }

  .class-label span{
    margin-left: 6px;
    font-size: 20px;
    color: #999999;
    position: relative;
    top:2px;
    cursor: pointer;
  }

  .class-label:hover span{
    color: red;
  }

</style>